package Tagger;

import java.util.HashMap;

import DataObjects.Article;
import DataObjects.Topic;

public class OneTopicTagger implements Tagger {

	private Topic topic;
	
	public void addArticleTopics(Article article, String fileName) {
		article.addTopic(topic);
	}

	public HashMap<Integer, Topic> tagCorpus(String corpusPath) {
		HashMap<Integer, Topic> ans=new HashMap<Integer, Topic>();
		topic=new Topic(1);
		topic.addWord("word 1");
		topic.addWord("word 2");
		ans.put(1, topic);
		return ans;
	}

	public HashMap<Integer, Topic> getAllTopics(){
		HashMap<Integer, Topic> ans=new HashMap<Integer, Topic>();
		topic=new Topic(1);
		topic.addWord("word 1");
		topic.addWord("word 2");
		ans.put(1, topic);
		return ans;
	}
}
